package com.jsb.laundry.model.shops;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
public class Withdrawals {
    private String id;
    private String withdrawalNo;
    private String userId;
    private String batchNo;
    private String appId;
    private String mchId;
    private String openId;
    private int amount;
    private String source;
    private String withdrawalType;
    private String bankName;
    private String bankCardNumber;
    private int commissionAmount;
    private double commissionRate;
    private String reqData;
    private String resData;
    private String withdrawalStatus;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createdAt;
}
